<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Sets the maximum document frequency</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="solrquery.settermslowerbound.html">SolrQuery::setTermsLowerBound</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="solrquery.settermsmincount.html">SolrQuery::setTermsMinCount</a></div>
 <div class="up"><a href="class.solrquery.html">SolrQuery</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="solrquery.settermsmaxcount" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SolrQuery::setTermsMaxCount</h1>
  <p class="verinfo">(PECL solr &gt;= 0.9.2)</p><p class="refpurpose"><span class="refname">SolrQuery::setTermsMaxCount</span> &mdash; <span class="dc-title">Sets the maximum document frequency</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-solrquery.settermsmaxcount-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type"><a href="class.solrquery.html" class="type SolrQuery">SolrQuery</a></span> <span class="methodname"><strong>SolrQuery::setTermsMaxCount</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$frequency</code></span>
   )</div>

  <p class="para rdfs-comment">
   Sets the maximum document frequency.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-solrquery.settermsmaxcount-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">frequency</code></em></dt>

     <dd>

      <p class="para">
      The maximum document frequency.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-solrquery.settermsmaxcount-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the current SolrQuery object, if the return value is used.
  </p>
 </div>

 
</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="solrquery.settermslowerbound.html">SolrQuery::setTermsLowerBound</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="solrquery.settermsmincount.html">SolrQuery::setTermsMinCount</a></div>
 <div class="up"><a href="class.solrquery.html">SolrQuery</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
